<?php
include ('adodb5/adodb-errorhandler.inc.php');
include ('adodb5/adodb.inc.php');

//config db
$DBTYPE = "mysql";
$DBHOST = "localhost";
$DBUSER = "root";
$DBPASSWORD = "";
$DBNAME = "bravolaw_web";

$conn = &ADONewConnection($DBTYPE);
$conn->Connect($DBHOST, $DBUSER, $DBPASSWORD, $DBNAME);
$GLOBALS['con'] = $conn;
$GLOBALS['con']->execute("set names utf8");
$GLOBALS['con']->execute("SET session wait_timeout=100");
$GLOBALS['db'] = $DBNAME;
?>
